package com.tornado.system.model;

import java.util.Date;

public class Message {
    @Override
	public String toString() {
		return "Message [id=" + id + ", userId=" + userId + ", msgTitle="
				+ msgTitle + ", msgContent=" + msgContent + ", createtime="
				+ createtime + "]";
	}

	private Integer id;

    private Integer userId;

    private String msgTitle;

    private String msgContent;

    private Date createtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getMsgTitle() {
        return msgTitle;
    }

    public void setMsgTitle(String msgTitle) {
        this.msgTitle = msgTitle == null ? null : msgTitle.trim();
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent == null ? null : msgContent.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}